package com.xuecheng.api.content;

import com.xuecheng.api.content.model.dto.CourseTeacherDTO;
import com.xuecheng.api.content.model.vo.CourseTeacherVo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

import java.util.List;

@Api("课程教师管理API")
public interface CourseTeacherApi {

    @ApiOperation("根据课程ID，查询课程教师信息")
    List<CourseTeacherDTO> queryCourseTeacherById(Long courseBaseId);

    @ApiOperation("新增或修改课程教师")
    CourseTeacherDTO saveOrUpdateCourseTeacher(CourseTeacherVo vo);

    @ApiOperation("删除课程教师")
    void removeCourseTeacherById(Long courseBaseId, Long courseTeacherId);

}
